package com.happy_hao.user.service;

import com.happy_hao.user.common.Result;
import com.happy_hao.user.dto.UpdateUserRequest;

public interface AdministratorService {
    Result getAllUserSimpleInfo();

    Result getUserInfo(String username);

    Result updateUserInfoRequest(UpdateUserRequest updateUserRequest);

    Result addNewGroup(String groupName);

    Result bindUserToGroup(String groupName, String username);

    Result getAllGroups();

    Result kickUserFromGroup(String groupName, String username);

    Result getGroupAllUsers(String groupName);

    Result getAllPermissions();

    Result bindPermissionToGroup(String groupName, String permissionName);

    Result dropPermissionFromGroup(String groupName, String permissionName);
}
